package main.java;

public class TipoDeGama {
	
	@SuppressWarnings("unused")
	private String nombre;
	
	public TipoDeGama(String n){
		if(!(n.equals("Alta")||n.equals("Baja")||n.equals("Media")))
			throw new IllegalArgumentException();
		nombre=n;
	}

	/**
	 * @uml.property  name="coche"
	 * @uml.associationEnd  multiplicity="(1 1)" inverse="tipoDeGama:Automobile.Coche"
	 */
	
}
